<%--
  Created by IntelliJ IDEA.
  User: Dell
  Date: 2021/11/16
  Time: 10:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%String path = request.getContextPath();%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />

    <link rel="stylesheet" href="<%=path %>/web/index/css/font.css">
    <link rel="stylesheet" href="<%=path %>/web/index/css/xadmin.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="<%=path %>/web/index/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="<%=path %>/web/index/js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

    <script type="text/javascript">
        function save(){
            window.location.href = "tab_users_pre_save";
        }

        function del(id){
            if(window.confirm('你确定要删除此条数据吗？')){
                window.location.href = "tab_users_del?id="+id;
                return true;
            }
        }
        function do_excel() {

            var select_name=document.getElementById("select_name").value;
            window.location.href = "excel_his?select_name="+select_name;


        }
    </script>


</head>

<body>
<div class="x-nav">
      <span class="layui-breadcrumb">
        <a href="">用户管理</a>
        <a>
          <cite>用户业务存根表</cite></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon" style="line-height:30px">ဂ</i></a>

</div>
<div class="x-body">
    <div class="layui-row" style="text-align: left;">
        <form class="layui-form layui-col-md12 x-so" action="/tab_users_acc_history_view" method="post" style="text-align: left;">
            <input type="text" name="loginname"  placeholder="请输入登录名" autocomplete="off" value="${loginname}" class="layui-input">
            <button class="layui-btn"  lay-submit="" lay-filter="sreach" type="submit"><i class="layui-icon">&#xe615;查询列表</i></button>
        </form>

    </div>
    <span class="layui-form layui-col-md12 x-so" style="text-align: left;">
            <input type="text" id="select_name" name="select_name"  placeholder="请输入登陆名" autocomplete="off"  class="layui-input">
            <button class="layui-btn" onclick="do_excel()" lay-submit="" lay-filter="sreach" ><i class="layui-icon">&#xe681;导出列表</i></button>
    </span>

    <table class="layui-table">
        <thead>
        <tr>
            <th>#</th>
            <th>登录名</th>
            <th>真实姓名</th>
            <th>联系电话</th>
            <th>总金额</th>
            <th>操作方式</th>
            <th>操作时间</th>
            <th>操作金额</th>


        </thead>
        <tbody>
        <c:forEach items="${list }" var="it" varStatus="vs">
            <tr>
                <td>${vs.count}</td>
                <td>${it.loginname}</td>
                <td>${it.username}</td>
                <td>${it.tel}</td>
                <td>${it.accmonnum}</td>
                <td>${it.way}</td>
                <td>${it.waytimes}</td>
                <td>${it.monnum}</td>
            </tr>
        </c:forEach>
        </tbody>
    </table>



    <div class="page">
    </div>

</div>

</body>

</html>
